package com.zp.demo.repush.service.defined;


public interface DefinedRePushFitter {
    /**
     * 推荐使用redis进行过滤重推
     * @param key
     * @param time
     * @return
     */
    boolean needRePush(String key,Integer time);
    boolean removeRePush(String key);
    /**
     * 推荐使用redis进行过滤 重复提交
     * @param key
     * @param time
     * @return
     */
    boolean checkSuccessOnes(String key,Integer time);

    boolean removeCheckSuccess(String key);
}
